package com.partners.dao.bo;

import java.io.Serializable;

public class AddressDO implements Serializable {
    private Integer id;

    private Integer uid;

    private String name;

    private Long phone;

    private String address;

    private Byte isdefault;

    private Integer addtime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Byte getIsdefault() {
        return isdefault;
    }

    public void setIsdefault(Byte isdefault) {
        this.isdefault = isdefault;
    }

    public Integer getAddtime() {
        return addtime;
    }

    public void setAddtime(Integer addtime) {
        this.addtime = addtime;
    }

    @Override
    public String toString() {
        return "AddressDO{" +
            "id=" + id +
            ", uid=" + uid +
            ", name='" + name + '\'' +
            ", phone=" + phone +
            ", address='" + address + '\'' +
            ", isdefault=" + isdefault +
            ", addtime=" + addtime +
            '}';
    }
}
